package com.cloudkinto.service.stock.vo.record;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author zhangyy
 * @date 2020/7/13 10:17
 * @description:
 */
@Data
@ApiModel
public class StockRecordUpdateReq implements Serializable {
    @ApiModelProperty("商品id")
    @NotNull(message = "pls.chose.sku")
    private Long productInfoId;

    @ApiModelProperty("店铺id")
    @NotNull(message = "pls.chose.shop")
    private Long shopId;

    @ApiModelProperty("仓库id")
    @NotNull(message = "pls.chose.storage")
    private Long storageId;

    @ApiModelProperty("可出售数")
    @NotNull(message = "pls.input.package.count")
    private Integer canSellCount;

    @ApiModelProperty("无法出售数量")
    private Integer canotSellCount;

    @ApiModelProperty("公司id")
    private Long companyId;

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("内容")
    private String content;
}
